module.exports = {
    title: 'INITCAP-技术沉淀',
    descirption: '技术文档',
    base: '/code-guide/',
    port: 9999,
    // configureWebpack : {
    //     output: {
    //         publicPath: "/"
    //     }
    // },
    themeConfig: {
        nav: [
            { text: '关于', link: 'https://gitee.com/initcap/'}
        ],
        sidebar: [
            {
                title: '基础技能',   // 必要的
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 2,    // 可选的, 默认值是 1
                children: [
                    ['/', '介绍'],
                    ['./basics-guide/java', 'Java基础'],
                    ['./basics-guide/database', '数据库'],
                    ['./basics-guide/algorithm', '算法'],
                    ['./basics-guide/data-structure', '数据结构'],
                    ['./basics-guide/protocol', '通信协议'],
                    ['./basics-guide/test-driven-development.md', '测试驱动开发']
                ]
            },

            {
                title: '框架知识',   // 必要的
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 2,    // 可选的, 默认值是 1
                children: [
                    ['./framework-guide/spring.md', 'Spring'],
                    ['./framework-guide/mybatis.md', 'MyBatis'],
                    ['./framework-guide/netty.md', "Netty"],
                    ['./framework-guide/shiro.md', 'Shiro'],
                    ['./framework-guide/flowable.md', 'Flowable']
                ]
            },

            {
                title: '多线程技能',   // 必要的
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 2,    // 可选的, 默认值是 1
                children: [
                    ['./thread-guide/jmm.md', 'Java内存模型'],
                    ['./thread-guide/thread-base.md', '并发编程基础'],
                    ['./thread-guide/thread-pool.md', '线程池'],
                    ['./thread-guide/thread-lock.md', '锁'],
                    ['./thread-guide/thread-cocurrent.md', '并发容器'],
                    ['./thread-guide/thread-atomic.md', '原子类'],
                    ['./thread-guide/thread-juc.md', 'J.U.C工具类']
                ]
            },
            
            {
                title: '工具',
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 1,    // 可选的, 默认值是 1
                children: [
                    ['/tool-guide/git.md', 'Git'],
                    ['/tool-guide/maven.md', 'Maven'],
                    ['/tool-guide/idea.md', 'Idea开发常用插件'],
                    ['/tool-guide/xshell.md', 'Xshell']
                ]
            },
            
            {
                title: '程序设计',
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 1,    // 可选的, 默认值是 1
                children: [
                    ['./program-design/start.md', '架构设计原则'],
                    ['./program-design/design-pattern.md', 'GoF23设计模式'],
                    ['./program-design/seckill.md', '秒杀方案'],
                    ['./program-design/bit.md', '位运算应用'],
                    ['./program-design/middleware.md', '中间件工具整理'],
                    ['./program-design/iot.md', 'IoT程序设计'],
                    ['./program-design/iot-user.md', '用户模块']
                ]
            },

            {
                title: '问题排查',
                collapsable: false, // 可选的, 默认值是 true,
                sidebarDepth: 1,    // 可选的, 默认值是 1
                children: [
                    ['/trace-guide/debug.md', '远程Debug'],
                    ['/trace-guide/outofmemory.md', '内存溢出分析']
                ]
            },
            
        ]
    },
    
    plugins:[

        [
            'vuepress-plugin-medium-zoom',
            {
                //selector: 'img',
                options: {
                    margin: 16
                }
            }
        ]

    ]
 }

